home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XStringToKeysym.z / XStringToKeysym
Encoding:
Text File  |  2002-10-03  |  4.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSttttrrrriiiinnnnggggTTTTooooKKKKeeeeyyyyssssyyyymmmm((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSttttrrrriiiinnnnggggTTTTooooKKKKeeeeyyyyssssyyyymmmm((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XStringToKeysym, XKeysymToString, XKeycodeToKeysym,
  10.           XKeysymToKeycode, XConvertCase - convert keysyms
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           KeySym XStringToKeysym(_s_t_r_i_n_g)
  14.                 char *_s_t_r_i_n_g;
  15.  
  16.           char *XKeysymToString(_k_e_y_s_y_m)
  17.                 KeySym _k_e_y_s_y_m;
  18.  
  19.           KeySym XKeycodeToKeysym(_d_i_s_p_l_a_y, _k_e_y_c_o_d_e, _i_n_d_e_x)
  20.                 Display *_d_i_s_p_l_a_y;
  21.                 KeyCode _k_e_y_c_o_d_e;
  22.                 int _i_n_d_e_x;
  23.  
  24.           KeyCode XKeysymToKeycode(_d_i_s_p_l_a_y, _k_e_y_s_y_m)
  25.                 Display *_d_i_s_p_l_a_y;
  26.                 KeySym _k_e_y_s_y_m;
  27.  
  28.           void XConvertCase(_k_e_y_s_y_m, _l_o_w_e_r__r_e_t_u_r_n, _u_p_p_e_r__r_e_t_u_r_n)
  29.                 KeySym _k_e_y_s_y_m;
  30.                 KeySym *_l_o_w_e_r__r_e_t_u_r_n;
  31.                 KeySym *_u_p_p_e_r__r_e_t_u_r_n;
  32.  
  33.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  34.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  35.  
  36.           _i_n_d_e_x     Specifies the element of KeyCode vector.
  37.  
  38.           _k_e_y_c_o_d_e   Specifies the KeyCode.
  39.  
  40.           _k_e_y_s_y_m    Specifies the KeySym that is to be searched for or
  41.                     converted.
  42.  
  43.           _l_o_w_e_r__r_e_t_u_r_n
  44.                     Returns the lowercase form of keysym, or keysym.
  45.  
  46.           _s_t_r_i_n_g    Specifies the name of the KeySym that is to be
  47.                     converted.
  48.  
  49.           _u_p_p_e_r__r_e_t_u_r_n
  50.                     Returns the uppercase form of keysym, or keysym.
  51.  
  52.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  53.           Standard KeySym names are obtained from <_X_1_1/_k_e_y_s_y_m_d_e_f._h> by
  54.           removing the XK_ prefix from each name.  KeySyms that are
  55.           not part of the Xlib standard also may be obtained with this
  56.           function.  The set of KeySyms that are available in this
  57.           manner and the mechanisms by which Xlib obtains them is
  58.           implementation-dependent.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSttttrrrriiiinnnnggggTTTTooooKKKKeeeeyyyyssssyyyymmmm((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSttttrrrriiiinnnnggggTTTTooooKKKKeeeeyyyyssssyyyymmmm((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           If the KeySym name is not in the Host Portable Character
  75.           Encoding, the result is implementation-dependent.  If the
  76.           specified string does not match a valid KeySym,
  77.           _X_S_t_r_i_n_g_T_o_K_e_y_s_y_m returns _N_o_S_y_m_b_o_l.
  78.  
  79.           The returned string is in a static area and must not be
  80.           modified.  The returned string is in the Host Portable
  81.           Character Encoding.  If the specified KeySym is not defined,
  82.           _X_K_e_y_s_y_m_T_o_S_t_r_i_n_g returns a NULL.
  83.  
  84.           The _X_K_e_y_c_o_d_e_T_o_K_e_y_s_y_m function uses internal Xlib tables and
  85.           returns the KeySym defined for the specified KeyCode and the
  86.           element of the KeyCode vector.  If no symbol is defined,
  87.           _X_K_e_y_c_o_d_e_T_o_K_e_y_s_y_m returns _N_o_S_y_m_b_o_l.
  88.  
  89.           If the specified KeySym is not defined for any KeyCode,
  90.           _X_K_e_y_s_y_m_T_o_K_e_y_c_o_d_e returns zero.
  91.  
  92.           The _X_C_o_n_v_e_r_t_C_a_s_e function returns the uppercase and
  93.           lowercase forms of the specified Keysym, if the KeySym is
  94.           subject to case conversion; otherwise, the specified KeySym
  95.           is returned to both lower_return and upper_return.  Support
  96.           for conversion of other than Latin and Cyrillic KeySyms is
  97.           implementation-dependent.
  98.  
  99.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  100.           XLookupKeysym(3X11)
  101.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.